package com.example.testrecorder.domain;

import org.litepal.crud.LitePalSupport;

/**
 * 密保问题和答案
 * @author Yingyong Lao
 * 创建时间 2021/5/23 10:02
 * @version 1.0
 */
public class QueAndAns extends LitePalSupport {
    private int id;
    private String question;
    private String answer;
    private int user_id;

    public QueAndAns() {
    }

    public QueAndAns(String question, String answer) {
        this.question = question;
        this.answer = answer;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getQuestion() {
        return question;
    }

    public void setQuestion(String question) {
        this.question = question;
    }

    public String getAnswer() {
        return answer;
    }

    public void setAnswer(String answer) {
        this.answer = answer;
    }

    public int getUser_id() {
        return user_id;
    }

    public void setUser_id(int user_id) {
        this.user_id = user_id;
    }

    @Override
    public String toString() {
        return "QueAndAns{" +
                "id=" + id +
                ", question='" + question + '\'' +
                ", answer='" + answer + '\'' +
                ", user_id=" + user_id +
                '}';
    }
}
